package com.yilin.tms.core.commons.model;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum  AuthStatus {
    //未申请认证，等待审核，认证失败，认证成功，认证延期中（正在运行的订单正常执行），认证到期（不允许任何操作）

    notApply(0,"未申请认证","未申请认证，请前往认证中心提交资料"),
    waitProcess(1,"等待审核","已提交，请等待平台审核"),
    authFail(2,"认证失败","认证失败，请检查后重新提交"),
    authSuccess(3,"认证成功","认证成功"),
    authDelay(4,"认证延期中","已在延期使用中，请及时更新您的证件"),
    authExpire(5,"认证失效","证件到期或失效，功能无法使用，请立即更新证件");

    @EnumValue
    public Integer index;
    public String name;
    public String tip;

    AuthStatus(Integer index, String name,String tip) {
        this.index = index;
        this.name = name;
        this.tip = tip;
    }
}
